<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		* { margin:0; padding:0;}
		body { font-size:12px;}
		.comment { margin-top:10px; padding:10px; border:1px solid #ccc;background:#DDD;}
		.comment h6 { font-weight:700; font-size:14px;}
		.para { margin-top:5px; text-indent:2em;background:#DDD;}
	</style>
	<script src = '../jquery.js'></script>
</head>
<body>
	<input type="button" id="send" value="Ajax获取">
	<div class="comment">已有评论</div>
	<div id="resText"></div>
	<script>
		/*$('input:button').click(function () {
			$('#resText').load('test.html .para')
		})*/
		$('input:button').click(function () {
			$('#resText').load('test.html .para', function (text, status, XMLHttpRequest) {
				alert(text);
				alert(status);
				alert(XMLHttpRequest);
			})
		})
	</script>
</body>
</html>